# -*- coding: utf-8 -*-
# @Author  : BoPo
# @Time    : 2022/1/4 11:27
# @Function:
import os

from loguru import logger

STL_PATH = "./storage/stl"
ZIP_PATH = "./storage/zip"
TMP_PATH = "./storage/tmp"

GATEWAY_BASE = "https://api.thingiverse.com/"

# if config.get("API", "token") == "<THINGIVERSE_API_TOKEN>":
#     logger.info("ERROR-YOU HAVE TO PUT YOUR THINGIVERSE API TOKEN AT: api_credentials.ini")
#     sys.exit()
# else:
#     api_token = config.get("API", "token")

api_token = '56edfc79ecf25922b98202dd79a291aa'

# hall_of_fame = []

ALL_FILES_FLAG = True
ZIP_FILES_FLAG = False

if not os.path.exists(ZIP_PATH):
    os.makedirs(ZIP_PATH)
    logger.info("zip_files folder created")

if not os.path.exists(STL_PATH):
    os.makedirs(STL_PATH)
    logger.info("stls folder created")
